package org.glorylight.hacks.social.controller;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;

import org.glorylight.hacks.social.xml.Galeries;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

@Component
@Scope("prototype")
@Path("/test")
public class TestController {

//	@GET
//	@Produces(MediaType.APPLICATION_JSON)
//	@Path("/pictures")
//	public Galeries getGaleriesForUser(@QueryParam("username") String username) {
		// TODO:this is only for testing
//		Galeries galeries = new Galeries();
//		galeries.getGaleries().add(new Picture("resources/image/baby.jpg", "baby", "baby", "joni"));
//		galeries.getGaleries().add(new Picture("resources/image/baby2.jpg", "baby2", "baby2", "oncom"));
//		galeries.getGaleries().add(new Picture("resources/image/images1.jpg", "image1", "image1", "uhui"));
//		return galeries;
//	}
	
}
